var btn=document.getElementById("btn");
var insert =document.getElementById("insert");
btn.onclick = function(){
    console.log("clicked");
    var text=document.getElementById("input").value;
    var create=document.createElement('div');
    // create.innerHTML=document.insertBefore(text, create.firstChild);
    create.innerHTML=text;
    insert.appendChild(create,insert);
}